package com.Student;

/**
 * ClassName: Student
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2024/8/28 15:19
 * @Version 17.0.2
 */
public class Student {
    private String name;
    private int age;
    private String grade;

    public Student(int age, String grade, String name) {
        this.age = age;
        this.grade = grade;
        this.name = name;
    }

    public Student() {

    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @Override
    public String toString() {
        return "Student{" +
                "age=" + age +
                ", name='" + name + '\'' +
                ", grade='" + grade + '\'' +
                '}';
    }
}

